package com.rongcheng.fortestlist;

import android.app.Application;
import android.content.Context;

/**
 * @author frc
 *         created at 17-1-12.
 */

public class SKApplication extends Application {

    private Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
    }

    public SKApplication() {
    }

    public static SKApplication instance;

    public static SKApplication getInstance() {
        if (instance == null) {
            instance = new SKApplication();
        }
        return instance;
    }

    public Context getContext() {
        return mContext;
    }
}
